﻿package com.logrogue.console.data {
	
	/**
	 * Класс хранения объекта в логе.
	 * 
	 * @version  1.1
	 * @author   meps
	 */
	public class CLogRecordObject extends CLogRecordMessage implements ILogRecordObject {
		
		/**
		 * Конструктор.
		 * 
		 */
		public function CLogRecordObject(object:Object, time:int, message:String = null, level:int = 0, module:int = 0, developer:int = 0, file:String = null, line:int = 0) {
			super(message, time, level, module, developer, file, line);
			m_type = TYPE_OBJECT;
			m_object = object;
		}
		
		/**
		 * @inheritDoc
		 */
		public function get object():Object { return m_object; }
		
		///////////////////////////////////////////////////////////////////////
		
		protected var m_object:Object;
		
	}
	
}